<template>
  <div class="demo-block">
    <h4>基本用法</h4>
    <my-select v-model="selectedValue">
      <my-option label="选项1" value="1"></my-option>
      <my-option label="选项2" disabled value="2"></my-option>
      <my-option label="选项3" value="3"></my-option>
    </my-select>
  </div>
</template>

<script>
import { select, option } from "../../../../src/components/select";
export default {
  components: {
    "my-select": select,
    "my-option": option,
  },
  data() {
    return {
      selectedValue: "",
    };
  },
};
</script>

<style>
</style>